package com.example.execise1.dto;

//英雄信息
public class HeroInfo {
    //英雄编号
    Integer id;
    //英雄名称
    String heroName;
    //主要类型
    TypeInfo chiefType;
    //次要类型
    TypeInfo minorType;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getHeroName() {
        return heroName;
    }

    public void setHeroName(String heroName) {
        this.heroName = heroName;
    }

    public TypeInfo getChiefType() {
        return chiefType;
    }

    public void setChiefType(TypeInfo chiefType) {
        this.chiefType = chiefType;
    }

    public TypeInfo getMinorType() {
        return minorType;
    }

    public void setMinorType(TypeInfo minorType) {
        this.minorType = minorType;
    }
}